package cn.kgc.springboot02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: mosin
 * @version: v1.0  2022/5/18
 */
@Controller
@RequestMapping("hello")
public class HelloController {

    @ResponseBody
    @RequestMapping("h1")
    public Object test01(){
        System.out.println("请求已接收");
        return  "hello jsp";
    }
}
